match the data field of strings.
* data.c (Fstring_to_number): Just skip tabs and spaces; don't use
the <ctype.h> macros. The <ctype.h> stuff apparently varies from
locale to locale more than we'd like. Don't include <ctype.h>.
#include <signal.h>
-#include <ctype.h>
#include "config.h"
#include "lisp.h"
(str)
register Lisp_Object str;
{
- char *p;
+ unsigned char *p;
CHECK_STRING (str, 0);
/* Skip any whitespace at the front of the number. Some versions of
atoi do this anyway, so we might as well make Emacs lisp consistent. */
- while (isspace (*p))
+ while (*p == ' ' || *p == '\t')
p++;
#ifdef LISP_FLOAT_TYPE